package com.huohuzhihui.model.bo;

import java.math.BigInteger;
import java.util.ArrayList;
import java.util.List;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class AssetSetInputBO {
    private String assetId;
    private String assetName;
    private String creatorAddress;
    private String assetHash;
    private BigInteger assetAmount;
    private BigInteger assetPrice;

    public List<Object> selectArgs() {
        List args = new ArrayList();
        args.add(assetId);
        return args;
    }

    public List<Object> registerArgs() {
        List args = new ArrayList();
        args.add(assetId);
        args.add(assetName);
        args.add(creatorAddress);
        args.add(assetHash);
        args.add(assetAmount);
        args.add(assetPrice);
        return args;
    }
}
